package com.example.mybatis20231226.Mapper;

import com.example.mybatis20231226.Model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoXMLMapper {
    public List<UserInfo> selectAll();

    public Integer insert(@Param("user") UserInfo userInfo);

    public void delete(Integer id);

    public void update(Integer gender, Integer id);

    public List<UserInfo> selectAll1();

    public List<UserInfo> selectAll2();
}
